pp108 : setStatus() Method

setStatus() Method


This method displays timely status updates and status messages such as progress indicators.

Syntax

application.setStatus(sMessage)

Parameters

Parameter

Description

sMessage

Required. Denotes the status message to be displayed.


Return Value


It does not return a value.

Remarks


You must provide the textual content to be displayed as the status message. Status messages do not display buttons to close them and automatically fade out after an interval of two seconds. However, when you set a new status, it overrides the current status that is visible and resets the fade out time.

Also, in the case of modal dialogs and synchronized dialogs, status messages appear on top of the application.

Example

function setStatusMessage()
{
application.setStatus("Loading Data...");
}